package com.wpre.lotterysystem.controller.param;

import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: LianBao
 * Date: 2024-12-18
 * Time: 15:03
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class UserPasswordLoginParam extends UserLoginParam{
    @NotBlank(message = "手机或邮箱不能为空")
    private String loginName;//手机或邮箱
    @NotBlank(message = "密码不能为空")
    private String password;//密码
}
